<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>traver</title>
    <script>
      (function () {
        var change = 'orientationchange' in window ?'orientationchange' :'resize';
        function calculate() {
          var deviceWidth = document.documentElement.clientWidth;
          if(deviceWidth<320){
            deviceWidth = 320;
          }else if(deviceWidth>750){
            deviceWidth = 750;
          }
          document.documentElement.style.fontSize = deviceWidth/7.5 + 'px';
        }
        window.addEventListener(change,calculate,false);
        calculate();
      })();
    </script> <!--自适应移动设备大小-->
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
